package com.rui.patterns.state.before;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : ILift
 * @createTime : [2022/2/24 14:40]
 * @description : [描述该类的功能]
 */

public interface ILift {

    int OPENING_STATE = 1;

    int CLOSING_STATE = 2;

    int RUNNING_STATE = 3;

    int STOPPING_STATE = 4;

    void setState(int state);

    //电梯操作的功能
    void open();

    void close();

    void run();

    void stop();
}
